<?php
/**
 * Note: 多商户
 */
return [
    'alipay' => [
        '888888888888888' => [
            'app_id' => '888888888888888',
            'mch_id' => '11111111111111', // 商户ID APP登陆获取infoStr时使用
            'notify_url' => '',
            'return_url' => '',
            'app_secret_cert' => '',
            'app_public_cert_path' => storage_path('keys/alipay/888888888888888/appCertPublicKey.crt'),
            'alipay_public_cert_path' => storage_path('keys/alipay/888888888888888/alipayCertPublicKey_RSA2.crt'),
            'alipay_root_cert_path' => storage_path('keys/alipay/888888888888888/alipayRootCert.crt'),
        ],
    ],

    // api密钥下单时签名用, apiv3密钥通知时验签用, 配置成同样的值
    'wechat' => [
        '1600000000' => [
            'app_id' => '',
            'miniapp_id' => '',
            'appid' => 'wx4e95e7600000000',
            'mch_id' => '1600000000',
            'notify_url' => '',
            'key' => '6a361f8a36371bc04e91d737d5ba0000',
            'cert_client' => storage_path('keys/wechat/1613790398/apiclient_cert.pem'),
            'cert_key' => storage_path('keys/wechat/1613790398/apiclient_key.pem'),
            // optional
            // 'dev' 时为沙箱模式
            // 'hk' 时为东南亚节点
            // 'mode' => 'dev',
        ],
    ],
];
